package cn.itchao.example.member.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;

@Data
@ToString
@TableName(value = "member")
public class Member implements Serializable {

    @TableId
    private Long id;

    private String usernmae;

    private String password;

    @TableField(value = "nick_name")
    private String nickName;

    private String mobile;

    private String email;

    private Integer gender;

    private String address;

    private Integer status;

    private String description;

    @TableField(value = "head_image")
    private String headImage;

    @TableField(value = "create_at")
    private Long createAt;

    @TableField(value = "update_at")
    private Long updateAt;


}
